/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Util;

import com.mongodb.MongoClient;
import com.mongodb.DB;
/**
 *
 * @author Yanne
 */
public class Conexao 
{
    public static MongoClient mongoClient = null;
    public static DB db = null;
    
    public static void AbrirConexao()
    {
        try
        {
        mongoClient = new MongoClient();
        db = mongoClient.getDB("DbNextBus");        
        }
        catch (Exception ex)
        {
            
        }
    }
    
}
